/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.attence;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.attence.DutySection;

/**
 * @author Administrator (email:raulcsj@163.com)
 * @since 2013-01-22
 */
public interface DutySectionService {

    /****************************************
     * Insert a instace of DutySection
     ****************************************/
    void insert(DutySection dutysection) throws Exception;

    /****************************************
     * Insert instaces of DutySection
     ****************************************/
    void batchInsert(DutySection dutysection) throws Exception;

    /****************************************
     * Delete a instace of DutySection
     ****************************************/
    void delete(DutySection dutysection) throws Exception;

    /****************************************
     * Delete instaces of DutySection
     ****************************************/
    void batchDelete(DutySection dutysection) throws Exception;

    /****************************************
     * Update a instace of DutySection
     ****************************************/
    void update(DutySection dutysection) throws Exception;

    /****************************************
     * Query instaces of DutySection
     ****************************************/
    List<BaseModel> queryAsList(DutySection dutysection) throws Exception;

    /****************************************
     * Query a instaces of DutySection
     ****************************************/
    BaseModel queryAsObject(DutySection dutysection) throws Exception;
}
